using SqlSugar;
using ZR.Model.System;
using ZR.Model;

namespace ZR.Model.System
{
    /// <summary>
    /// 测试表2
    /// </summary>
    [SugarTable("sheetTest2", "测试表2")]
    [Tenant("0")]
    public class SheetTest2
    {
        /// <summary>
        /// 主键ID
        /// </summary>
        [SugarColumn(IsIdentity = true, IsPrimaryKey = true)]
        public int Id { get; set; }

        /// <summary>
        /// X坐标
        /// </summary>
        [SugarColumn(Length = 10, ColumnDescription = "X坐标", ExtendedAttribute = ProteryConstant.NOTNULL)]
        public string CoordinatesX { get; set; }

        /// <summary>
        /// Y坐标
        /// </summary>
        [SugarColumn(Length = 10, ColumnDescription = "Y坐标", ExtendedAttribute = ProteryConstant.NOTNULL)]
        public string CoordinatesY { get; set; }

        /// <summary>
        /// 速度
        /// </summary>
        [SugarColumn(Length = 10, ColumnDescription = "速度", ExtendedAttribute = ProteryConstant.NOTNULL)]
        public string Speed { get; set; }

        /// <summary>
        /// 方向
        /// </summary>
        [SugarColumn(Length = 10, ColumnDescription = "方向", ExtendedAttribute = ProteryConstant.NOTNULL)]
        public string Direction { get; set; }
    }
}
